POV-Ray : Newsgroups : povray.newusers : sunpos.inc : Re: sunpos.inc Server Time
2 Nov 2024 15:26:23 EDT (-0400)
  Re: sunpos.inc  
From: Stephen
Date: 19 Jan 2004 00:23:11
Message: <400b69bf$1@news.povray.org>
Thanks for the feedback and advice. It looks like I was confusicated as to
which way was up.
If you stand on the earth and build a house, then 'up' is, well, UP, in the
Y direction.  I built a planet and wasn't so sure where it's orientation
should be from there, i.e. 'up' could be straight up or North, or well...
that's when it all went south, so to speak.

Ingo clarified this with
 > Regarding aligning the earth. You should rotate and translate it in such
> a way that the Calgary bump (house or city) is on the origin and in the
x-z-plane.

and therefore UP or Y is into the atmosphere.

I'm working on an animation of the sunposition against our house for various
plans. At 51 degrees North Latitude, the shortest day of the year is sunny
from about 9AM to 4PM, or a bit later if you're outstanding in your field
without obstructions.

I think it's working now!

-- 

Stephen


"ingo" <ing### [at] tagpovrayorg> wrote in message
news:Xns### [at] netplexaussieorg...
> in news:40093609$1@news.povray.org Stephen wrote:
>
> > I can never get
> > the sun to be positioned where I would expect it, specifically
> > 1) over the  Equator on March and Sept 21
> >
> Try the following values in sundail.pov in the ..\scenes\incdemo\
> directory of the standard distribution.
>
> #declare Year= 2004;
> #declare Month= 3;
> #declare Day= 21;
> #declare Hour= 12;
> #declare Minute= 0;
> #declare Lstm= -7*15;
> #declare LONG= -114;
> #declare LAT= 51;
>
> The fact that the dial doesn't show exactly 12 is because of your
> distance from the meridian that is used for your clock time and by the
> fact that the earth 'wobbles' around the sun. So its highest point on a
> day is never on the same place in the sky.
> See http://www.uwm.edu/~kahl/Images/Weather/Other/analemma.html
> Bob may have been overrcorrecting the Lstm for this fact.
>
> Regarding aligning the earth. You should rotate and translate it in such
> a way that the Calgary bump is on the origin and in the x-z-plane.
>
> Ingo


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.